package com.mk.cloud.common.domain;
import org.beetl.sql.core.annotatoin.AssignID;
import org.beetl.sql.core.mapper.BaseMapper;

import javax.persistence.Transient;
import java.io.Serializable;
import java.math.*;
import java.util.Date;
import java.sql.Timestamp;

/*
* 
* gen by beetlsql 2018-04-04
*/
public class PWalletFlow   implements Serializable{
	//id
	@AssignID
	private String wfid ;
	//余额
	private BigDecimal balance ;
	//创建时间
	private String createtime ;
	//操作金额
	private BigDecimal flowamount ;
	//用户标识
	private String fuserid ;
	//说明
	private String remark ;
	//进出类型（0入，1出,提现）
	private String type ;
	//时间戳
	private Long wftimestamp ;
//	奖励来源类型(提现:0;转介绍现金奖励:1;团队裂变现金奖励2;)
	private String sourcetype;
	private String coid;
	private String sourcefuserid;//奖励来源人

	private String sourceorderid;
	@Transient
	private String shopname;

	public String getCoid() {
		return coid;
	}

	public void setCoid(String coid) {
		this.coid = coid;
	}
	
	public PWalletFlow() {
	}

	public String getSourceorderid() {
		return sourceorderid;
	}

	public void setSourceorderid(String sourceorderid) {
		this.sourceorderid = sourceorderid;
	}

	public String getShopname() {
		return shopname;
	}

	public void setShopname(String shopname) {
		this.shopname = shopname;
	}

	public String getSourcefuserid() {
		return sourcefuserid;
	}

	public void setSourcefuserid(String sourcefuserid) {
		this.sourcefuserid = sourcefuserid;
	}

	public String getSourcetype() {
		return sourcetype;
	}

	public void setSourcetype(String sourcetype) {
		this.sourcetype = sourcetype;
	}

	public String getWfid(){
		return  wfid;
	}
	public void setWfid(String wfid ){
		this.wfid = wfid;
	}
	
	public BigDecimal getBalance(){
		return  balance;
	}
	public void setBalance(BigDecimal balance ){
		this.balance = balance;
	}
	
	public String getCreatetime(){
		return  createtime;
	}
	public void setCreatetime(String createtime ){
		this.createtime = createtime;
	}
	
	public BigDecimal getFlowamount(){
		return  flowamount;
	}
	public void setFlowamount(BigDecimal flowamount ){
		this.flowamount = flowamount;
	}
	
	public String getFuserid(){
		return  fuserid;
	}
	public void setFuserid(String fuserid ){
		this.fuserid = fuserid;
	}
	
	public String getRemark(){
		return  remark;
	}
	public void setRemark(String remark ){
		this.remark = remark;
	}
	
	public String getType(){
		return  type;
	}
	public void setType(String type ){
		this.type = type;
	}
	
	public Long getWftimestamp(){
		return  wftimestamp;
	}
	public void setWftimestamp(Long wftimestamp ){
		this.wftimestamp = wftimestamp;
	}

	public interface Mapper extends BaseMapper<PWalletFlow> {
	}
	

}
